import request from '@/utils/request'

export function feachList(data) {
  return request({
    url: '/admin/links/list',
    method: 'post',
    data
  })
}

export function saveOrUpdate(data) {
  return request({
    url: '/admin/links/saveOrUpdate',
    method: 'post',
    data
  })
}

export function del(id) {
  return request({
    url: `/admin/links/del/${id}`,
    method: 'delete'
  })
}
